package com.yllt4cloud.common.ddbase.result;

import com.yllt4cloud.common.ddbase.domain.Menu;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public class MenuResult implements Serializable {
    private Menu menu;   //菜单
    private List<Menu> buttons;  //菜单下的按钮集合
    private Map<String, Menu> buttonMap;  //菜单下的按钮集合

    public MenuResult() {
    }

    public Menu getMenu() {
        return menu;
    }

    public void setMenu(Menu menu) {
        this.menu = menu;
    }

    public List<Menu> getButtons() {
        return buttons;
    }

    public void setButtons(List<Menu> buttons) {
        this.buttons = buttons;
    }

    public Map<String, Menu> getButtonMap() {
        return buttonMap;
    }

    public void setButtonMap(Map<String, Menu> buttonMap) {
        this.buttonMap = buttonMap;
    }
}
